<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
	<%@taglib uri="/struts-tags" prefix="s"%>
<%@taglib uri="/struts-dojo-tags" prefix="sx"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	</head>
	<body>
		<ul>
			<s:iterator value="pageView.records" var="shop_book">
				<li class="mar_r">
					<img src="${shop_book.logo_300}" width="150" height="190" alt=""
						style="background-color: #CC6600" />
					<p>
						<strong>
							<s:a  namespace="/forward/view" action="book_browse">
										<s:param name="book.id" value="#shop_book.id"></s:param>
								${shop_book.bookName}
							</s:a>
						</strong>
						<br />
						<s>${shop_book.print}</s>
						<br />
						电子价：
						<span>￥${shop_book.price}</span>
					</p>
				</li>
			</s:iterator>
			<li class="mar_fenye">
				<font>当前页:第${pageView.currentpage}页 |
					总记录数:${pageView.totalrecord}条 | 每页显示:${pageView.maxrecord}条 |
					总页数:${pageView.totalpage}页</font>
				<br />
				<s:iterator begin="pageView.pageindex.startindex"
					end="pageView.pageindex.endindex" var="pageIndex">
					<s:if test="pageView.currentpage==#pageIndex">
						<b><font color="#00ffff">${pageIndex}</font>
						</b>
					</s:if>
					<s:else>
						<s:url action="shop_recommend" namespace="/forward/view" id="shop_recommend_List">
							<s:param name="shopId" value="shop.id" />
							<s:param name="page" value="pageIndex" />
						</s:url>
						<sx:a href="%{shop_recommend_List}" targets="shop_recommend_book">[${pageIndex}]</sx:a>
					</s:else>
				</s:iterator>
			</li>
		</ul>
	</body>
</html>